package com.mtung.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zhenguo.yao
 * @date 2020/12/12
 */
@FeignClient(name = "producer-service")
public interface ProducerClient {

    /**
     * 测试
     * @return
     */
    @GetMapping("/producer")
    String producerMsg();

}
